<div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox">
        <h3 class="m-t-none m-b ">添加信访</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访类型</label>
                <div class="col-sm-6">
                    <select class="custom-select" v-model="addGovPetitionLetterInfo.petitionType">
                      <option selected value="">请选择</option>
                      <option v-for="(item,index) in govPetitionLetterManageInfo.govPetitionTypes" :value="item.typeId">
                        {{item.typeName}}
                     </option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访件号</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.letterCode" type="text" placeholder="必填，请填写信访件号"
                    class="form-control">
                </div>
              
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">查询码</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.queryCode" type="text" placeholder="必填，请填写查询码"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访日期</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.petitionTime" type="text" placeholder="必填，请填写信访日期"
                    class="form-control addPetitionTime">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访人名称</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.petitionPersonName" type="text" placeholder="必填，请选择信访人名称"
                    class="form-control">
                </div>
                <button class="col-sm-1 btn btn-primary float-right" type="button" v-on:click="_openAddChoosePetitionPersonModel()"><i
                  class="fa fa-check"></i>&nbsp;选择</button>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访形式</label>
                <div class="col-sm-6">
                    <select class="custom-select" v-model="addGovPetitionLetterInfo.petitionForm">
                      <option selected disabled value="">请选择</option>
                      <option v-for="(item,index) in govPetitionLetterManageInfo.petitionForms" :value="item.statusCd">
                        {{item.name}}
                     </option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访目的</label>
                <div class="col-sm-6">
                    <select class="custom-select" v-model="addGovPetitionLetterInfo.petitionPurpose">
                      <option selected value="">请选择</option>
                      <option v-for="(item,index) in govPetitionLetterManageInfo.petitionPurposes" :value="item.statusCd">
                        {{item.name}}
                     </option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">接访人姓名</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.receiveUserName" type="text" placeholder="必填，请填写接访人姓名"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">接访单位名称</label>
                <div class="col-sm-6">
                  <input v-model="addGovPetitionLetterInfo.receiveDepartmentName" type="text" placeholder="必填，请填写接访单位名称"
                    class="form-control">
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">信访内容</label>
                <div class="col-sm-6">
                    <textarea v-model="addGovPetitionLetterInfo.context" placeholder="必填，请填写信访内容"
                    class="form-control"></textarea>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">照片地址</label>
                <div class="col-sm-6">
                    <vc:create path="frame/uploadImage" callBackListener="addImgUrl"
                    callBackFunction="petitionUploadImage" imageCount="1" namespace="addImgUrl">
                </vc:create>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-6">
                    <textarea v-model="addGovPetitionLetterInfo.remark" placeholder="请填写备注"
                    class="form-control"></textarea>
                </div>
              </div>
              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="saveGovPetitionLetterInfo()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="_closeAddGovPetitionLetter()"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>